/*
Copyright (c) 2008, Adobe Systems Incorporated
All rights reserved.

Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice, 
    	this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice, 
    	this list of conditions and the following disclaimer in the 
    	documentation and/or other materials provided with the distribution.
    * Neither the name of Adobe Systems Incorporated nor the names of its 
    	contributors may be used to endorse or promote products derived from 
    	this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
POSSIBILITY OF SUCH DAMAGE.
*/
/**
 * Group is a ValueObject for the Flickr API.
 */
package com.adobe.webapis.flickr;

class Group
{
	public var nsid(getNsid, setNsid) : String;
	public var name(getName, setName) : String;
	public var description(getDescription, setDescription) : String;
	public var privacy(getPrivacy, setPrivacy) : Int;
	public var members(getMembers, setMembers) : Int;
	public var online(getOnline, setOnline) : Int;
	public var chatNsid(getChatNsid, setChatNsid) : String;
	public var inChat(getInChat, setInChat) : Int;
	public var isEighteenPlus(getIsEighteenPlus, setIsEighteenPlus) : Bool;
	public var isAdmin(getIsAdmin, setIsAdmin) : Bool;
	public var photos(getPhotos, setPhotos) : Int;
	public var iconServer(getIconServer, setIconServer) : Int;
	public var url(getUrl, setUrl) : String;

	var _nsid : String;
	var _name : String;
	var _description : String;
	var _privacy : Int;
	var _members : Int;
	var _online : Int;
	var _chatNsid : String;
	var _inChat : Int;
	var _isEighteenPlus : Bool;
	var _isAdmin : Bool;
	var _photos : Int;
	var _iconServer : Int;
	var _url : String;
	/**
	 * Construct a new Group instance
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function new()
	{
		// do nothing
	}

	/**
	 * The nsid of the group
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getNsid() : String
	{
		return _nsid;
	}

	public function setNsid(value : String) : String
	{
		_nsid = value;
	}

	/**
	 * The name of the group
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getName() : String
	{
		return _name;
	}

	public function setName(value : String) : String
	{
		_name = value;
	}

	/**
	 * The description of the group
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getDescription() : String
	{
		return _description;
	}

	public function setDescription(value : String) : String
	{
		_description = value;
	}

	/**
	 * The privacy of the group
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getPrivacy() : Int
	{
		return _privacy;
	}

	public function setPrivacy(value : Int) : Int
	{
		_privacy = value;
	}

	/**
	 * The members in the group
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getMembers() : Int
	{
		return _members;
	}

	public function setMembers(value : Int) : Int
	{
		_members = value;
	}

	/**
	 * The number of group members online
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getOnline() : Int
	{
		return _online;
	}

	public function setOnline(value : Int) : Int
	{
		_online = value;
	}

	/**
	 * The chatNsid of the group
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getChatNsid() : String
	{
		return _chatNsid;
	}

	public function setChatNsid(value : String) : String
	{
		_chatNsid = value;
	}

	/**
	 * The number of people in the group chat
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getInChat() : Int
	{
		return _inChat;
	}

	public function setInChat(value : Int) : Int
	{
		_inChat = value;
	}

	/**
	 * Flag for if the group is 18+ or not
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getIsEighteenPlus() : Bool
	{
		return _isEighteenPlus;
	}

	public function setIsEighteenPlus(value : Bool) : Bool
	{
		_isEighteenPlus = value;
	}

	/**
	 * Flag for if the current user is the admin of the group
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getIsAdmin() : Bool
	{
		return _isAdmin;
	}

	public function setIsAdmin(value : Bool) : Bool
	{
		_isAdmin = value;
	}

	/**
	 * The number of photos in the group
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getPhotos() : Int
	{
		return _photos;
	}

	public function setPhotos(value : Int) : Int
	{
		_photos = value;
	}

	/**
	 * The icon server of the group
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getIconServer() : Int
	{
		return _iconServer;
	}

	public function setIconServer(value : Int) : Int
	{
		_iconServer = value;
	}

	/**
	 * The url of the group
	 *
	 * @langversion ActionScript 3.0
	 * @playerversion Flash 8.5
	 * @tiptext
	 */
	public function getUrl() : String
	{
		return _url;
	}

	public function setUrl(value : String) : String
	{
		_url = value;
	}

}

